﻿<%@ page title="" language="C#" masterpagefile="~/Page/MasterPage.master" autoeventwireup="true" inherits="Page_Register_RegisterOfExpert, App_Web_editprofileexpert.aspx.fe9698b1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <link href="../../CSS/PageStyle.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="FrameStyle">
        <div class="PageTitleStyle">
            <asp:Image ID="bgpicEditProfileExpertsTop" runat="server" ImageUrl="~/Images/EditProfile/bgpicEditProfileTop.png" />
        </div>
        <div id="EditProfile">
            <div class="bgTop">
            </div>
            <div class="bgRepeat">
                <table cellspacing="6" class="TableStyle">
                    <tr>
                        <td class="TableHeaderStyle" width="150">
                            FirstName:
                        </td>
                        <td>
                            <asp:TextBox runat="server" ID="txtEditProfileExpertFirstName" Width="265px"
                                CssClass="TextboxStyle"></asp:TextBox>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="rfvEditProfileExpertFirstName" runat="server" ErrorMessage="Required." ControlToValidate="txtEditProfileExpertFirstName" CssClass="ValidatorStyle"></asp:RequiredFieldValidator>
                            
                        </td>
                    </tr>
                    <tr>
                        <td class="TableHeaderStyle" width="150">
                            LastName:
                        </td>
                        <td>
                            <asp:TextBox runat="server" ID="txtEditProfileExpertLastName" Width="265px"
                                CssClass="TextboxStyle"></asp:TextBox>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="rfvEditProfileExpertLastName" runat="server" ErrorMessage="Required." ControlToValidate="txtEditProfileExpertLastName" CssClass="ValidatorStyle"></asp:RequiredFieldValidator>
                            
                        </td>
                    </tr>
                    <tr>
                        <td class="TableHeaderStyle" width="150">
                            Phone:
                        </td>
                        <td>
                            <asp:TextBox runat="server" ID="txtEditProfileExpertPhone" Width="265px"
                                CssClass="TextboxStyle"></asp:TextBox>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" 
                                ControlToValidate="txtEditProfileExpertPhone" Display="Dynamic" 
                                ErrorMessage="Wrong phone number type!" 
                                ValidationExpression="[1][3-8]\d{9}" CssClass="ValidatorStyle"></asp:RegularExpressionValidator>
                        </td>
                        <td>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtEditProfileExpertPhone"
                                ErrorMessage="Required" ValidationExpression="[1][3-8]\d{9}" CssClass="ValidatorStyle"></asp:RegularExpressionValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="TableHeaderStyle" width="150">
                            Address:
                        </td>
                        <td>
                            <asp:TextBox runat="server" ID="txtEditProfileExpertAddress" Width="265px"
                                CssClass="TextboxStyle"></asp:TextBox>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="rfvEditProfileExpertAddress" runat="server" ErrorMessage="Required." ControlToValidate="txtEditProfileExpertAddress" CssClass="ValidatorStyle"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="TableHeaderStyle" width="150">
                            City:
                        </td>
                        <td>
                            <asp:TextBox runat="server" ID="txtEditProfileExpertCity" Width="265px"
                                CssClass="TextboxStyle"></asp:TextBox>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="rfvEditProfileExpertCity" runat="server" ErrorMessage="Required." ControlToValidate="txtEditProfileExpertCity" CssClass="ValidatorStyle"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="TableHeaderStyle" width="150">
                            State/Province:
                        </td>
                        <td>
                            <asp:DropDownList ID="listEditProfileExpertState_Province" runat="server" Width="268px"
                                CssClass="DropDownListStyle">
                                <asp:ListItem>California</asp:ListItem>
                                <asp:ListItem>Colorado</asp:ListItem>
                                <asp:ListItem>Hawaii</asp:ListItem>
                                <asp:ListItem>Louisiana</asp:ListItem>
                                <asp:ListItem>Massachusetts</asp:ListItem>
                                <asp:ListItem>Nevada</asp:ListItem>
                                <asp:ListItem>New Jersey</asp:ListItem>
                                <asp:ListItem>Virginia</asp:ListItem>
                                <asp:ListItem>Washington</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="rfvEditProfileExpertStateProvince" runat="server"
                                ErrorMessage="Required." ControlToValidate="listEditProfileExpertState_Province"
                                CssClass="ValidatorStyle"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="TableHeaderStyle" width="150">
                            Postal Code:
                        </td>
                        <td>
                            <asp:TextBox runat="server" ID="txtEditProfileExpertPostalCode" Width="265px"
                                CssClass="TextboxStyle"></asp:TextBox>
                            <asp:RegularExpressionValidator ID="revEditProfileExpertPostalCode" runat="server" 
                                ControlToValidate="txtEditProfileExpertPostalCode" Display="Dynamic" 
                                ErrorMessage="Wrong postal code type!" 
                                ValidationExpression="[1-9]\d{5}(?!\d)" CssClass="ValidatorStyle"></asp:RegularExpressionValidator>
                        </td>
                        <td>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="txtEditProfileExpertPostalCode"
                                ErrorMessage="Required" ValidationExpression="[1-9]\d{5}(?!\d)" CssClass="ValidatorStyle"></asp:RegularExpressionValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="TableHeaderStyle" width="150">
                            Expert Type:
                        </td>
                        <td>
                            <asp:DropDownList ID="listEditProfileExpertExpertType" runat="server" Width="268px"
                                CssClass="DropDownListStyle">
                                <asp:ListItem>Telephony Expert</asp:ListItem>
                                <asp:ListItem>Web Designer</asp:ListItem>
                                <asp:ListItem>Dancing Teacher</asp:ListItem>
                                <asp:ListItem>Computer Expert</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="rfvEditProfileExpertExpertType" runat="server" ErrorMessage="Required."
                                ControlToValidate="listEditProfileExpertExpertType" CssClass="ValidatorStyle"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="TableHeaderStyle" valign="top" width="150">
                            Introduce:
                        </td>
                        <td>
                            <asp:TextBox ID="txtEditProfileExpertIntroduce" runat="server" CssClass="TextboxStyle"
                                Height="100px" TextMode="MultiLine" Width="265px"></asp:TextBox>
                        </td>
                        <td valign="top">
                            <asp:RequiredFieldValidator ID="rfvEditProfileExpertIntroduce" runat="server" ErrorMessage="Required."
                                ControlToValidate="txtEditProfileExpertIntroduce" CssClass="ValidatorStyle"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                </table>
            </div>
            <div class="bgBottom">
            </div>
        </div>
        <div class="ButtonAndBlankStyle">
            <table>
                <tr>
                    <td width="360px" style="width: 445px">
                    </td>
                    <td width="85px">
                        <asp:ImageButton ID="btnEditProfileExpert" runat="server" ImageUrl="~/Images/btnPublicSubmit.png"
                            OnClick="btnEditProfileExpert_Click" />
                    </td>
                </tr>
            </table>
        </div>
    </div>
</asp:Content>
